package com.jinzhi.jinzhidata.service;

import com.jinzhi.jinzhidata.dataobject.Article;
import org.springframework.data.domain.PageRequest;

import java.util.List;

/**
 * @description
 * @date 2019-12-28 21:46
 **/
public interface ArticleService {

    List<Article> selectArticleListPublish(PageRequest pageRequest);

    Long countPublish();

    Article selectByArticleId(String articleId);

    List<Article> selectArticleList(PageRequest pageRequest);

    Long count();

    Article deleteArticle(String articleId);

    Article saveArticle(Article article);

}
